import {request} from '@/utils/request'

//获取日计划列表
export function getDayWorkList(param) {
    return request({
        //url: '/scheduleWorkWorkplanday/selectBeginTimeDay',
        url: '/dailyControlController/selectByDatePlan',
        method: 'GET',
        params: param
    })
}
//按日期和计划状态分页查询
export function selectByStatePlan(param) {
    return request({
        url: '/dailyControlController/selectByStatePlan',
        method: 'GET',
        params: param
    })
}
export function selectByTechnologicalProcess(param) {
    return request({
        url: '/dailyControlController/selectByTechnologicalProcess',
        method: 'GET',
        params: param
    })
}
export function selectByPlanProcess(param) {
    return request({
        url: '/dailyControlController/selectByPlanProcess',
        method: 'GET',
        params: param
    })
}
//获取计划状态数据字典信息
export function queryPlanStatus(){
    return request({
        url: '/dailyControlController/queryPlanStatus',
        method: 'GET',
        params: ''
        
    })
}
//根据作业计划id查询作业基本信息及作业风险基本信息
export function selectByWorkPlanId(param){
    return request({
        url: '/dailyControlController/selectByWorkPlanId',
        method: 'GET',
        params: param
        
    })
}
//根据作业计划id 查询实施单位基本信息
export function selectByImplementationInformation(param){
    return request({
        url: '/dailyControlController/selectByImplementationInformation',
        method: 'GET',
        params: param
        
    })
}

//到岗到位
export function selectinspectPost(param){
    return request({
        url: '/dailyControlController/selectinspectPost',
        method: 'GET',
        params: param
        
    })
}

export function selectCheckInformation(param){
    return request({
        url: '/dailyControlController/selectCheckInformation',
        method: 'GET',
        params: param
        
    })
}
//根据作业计划id分页查询违章信息
export function selectViolationInformation(param){
    return request({
        url: '/dailyControlController/selectViolationInformation',
        method: 'GET',
        params: param
        
    })
}

export function selectByPowercutPlanId(param){
    return request({
        url: '/dailyControlController/selectByPowercutPlanId',
        method: 'GET',
        params: param
        
    })
}
export function selectByRiskWarningId(param){
    return request({
        url: '/dailyControlController/selectByRiskWarningId',
        method: 'GET',
        params: param
        
    })
}
export function selectImplementationUnitAll(param){
    return request({
        url: '/dailyControlController/selectImplementationUnitAll',
        method: 'GET',
        params: param
        
    })
}
export function selectByProjectAll(param){
    return request({
        url: '/dailyControlController/selectByProjectAll',
        method: 'GET',
        params: param
        
    })
}

